package com.gcit.seniorWish.web.common.persistence.model;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableLogic;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 上报信息表
 * </p>
 *
 * @author tonglu
 * @since 2018-03-25
 */
@TableName("senior_statistics_report")
public class SeniorStatisticsReport extends Model<SeniorStatisticsReport> {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键id
	 */
	@TableId(value = "id", type = IdType.UUID)
	private String id;
	/**
	 * 所属中学id
	 */
	@TableField("senior_school_id")
	private String seniorSchoolId;
	/**
	 * 班级id
	 */
	@TableField("senior_class_id")
	private String seniorClassId;
	/**
	 * 报名人数
	 */
	@TableField("examinee_num")
	private Integer examineeNum;
	/**
	 * 未填报志愿人数
	 */
	@TableField("noWrite_num")
	private Integer nowriteNum;
	/**
	 * 已填报志愿人数
	 */
	@TableField("thenWrite_num")
	private Integer thenwriteNum;
	/**
	 * 已放弃志愿人数
	 */
	@TableField("abandoned_num")
	private Integer abandonedNum;
	/**
	 * 未确认志愿人数
	 */
	@TableField("noConfirm_num")
	private Integer noconfirmNum;
	/**
	 * 已确认志愿人数
	 */
	@TableField("thenConfirm_num")
	private Integer thenconfirmNum;
	/**
	 * 上报类型(1已上报,0未上报)
	 */
	private Integer status;

	/**
	 * 创建时间
	 */
	@TableField(fill = FieldFill.INSERT)
	private Date createTime;

	/**
	 * 创建者id
	 */
	@TableField(fill = FieldFill.INSERT)
	private String createBy;

	/**
	 * 更新时间
	 */
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date modifyTime;

	/**
	 * 更新者id
	 */
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private String modifyBy;

	/**
	 * 删除标记
	 */
	@TableField(fill = FieldFill.INSERT)
	@TableLogic
	private Integer delFlag;
	
	@TableField(exist=false)
	private String schoolCode;// 临时字段
	@TableField(exist=false)
	private String className;// 临时字段

	public String getSchoolCode() {
		return schoolCode;
	}

	public void setSchoolCode(String schoolCode) {
		this.schoolCode = schoolCode;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getSeniorSchoolId() {
		return seniorSchoolId;
	}

	public void setSeniorSchoolId(String seniorSchoolId) {
		this.seniorSchoolId = seniorSchoolId;
	}

	public String getSeniorClassId() {
		return seniorClassId;
	}

	public void setSeniorClassId(String seniorClassId) {
		this.seniorClassId = seniorClassId;
	}

	public Integer getExamineeNum() {
		return examineeNum;
	}

	public void setExamineeNum(Integer examineeNum) {
		this.examineeNum = examineeNum;
	}

	public Integer getNowriteNum() {
		return nowriteNum;
	}

	public void setNowriteNum(Integer nowriteNum) {
		this.nowriteNum = nowriteNum;
	}

	public Integer getThenwriteNum() {
		return thenwriteNum;
	}

	public void setThenwriteNum(Integer thenwriteNum) {
		this.thenwriteNum = thenwriteNum;
	}

	public Integer getAbandonedNum() {
		return abandonedNum;
	}

	public void setAbandonedNum(Integer abandonedNum) {
		this.abandonedNum = abandonedNum;
	}

	public Integer getNoconfirmNum() {
		return noconfirmNum;
	}

	public void setNoconfirmNum(Integer noconfirmNum) {
		this.noconfirmNum = noconfirmNum;
	}

	public Integer getThenconfirmNum() {
		return thenconfirmNum;
	}

	public void setThenconfirmNum(Integer thenconfirmNum) {
		this.thenconfirmNum = thenconfirmNum;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public Date getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

	public String getModifyBy() {
		return modifyBy;
	}

	public void setModifyBy(String modifyBy) {
		this.modifyBy = modifyBy;
	}

	public Integer getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(Integer delFlag) {
		this.delFlag = delFlag;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "SeniorStatisticsReport{" + ", id=" + id + ", seniorSchoolId=" + seniorSchoolId + ", seniorClassId="
				+ seniorClassId + ", examineeNum=" + examineeNum + ", nowriteNum=" + nowriteNum + ", thenwriteNum="
				+ thenwriteNum + ", abandonedNum=" + abandonedNum + ", noconfirmNum=" + noconfirmNum
				+ ", thenconfirmNum=" + thenconfirmNum + ", status=" + status + ", createTime=" + createTime
				+ ", createBy=" + createBy + ", modifyTime=" + modifyTime + ", modifyBy=" + modifyBy + ", delFlag="
				+ delFlag + "}";
	}
}
